Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 4 - Printing Messages / Printing Messages Reference
Constants and Data Types for the Vector Imaging System


Vector Pen Table Entry Structure

The vector pen table entry structure, of data type gxPenTableEntry, defines a single pen that is in a pen table used on a vector device.

struct gxPenTableEntry { 
   Str31      penName;
   gxColor    penColor;
   fixed      penThickness;
   short      penUnits;
   short      penPosition;
};
typedef struct gxPenTableEntry gxPenTableEntry;
Field Description
penName
The name of the pen that this structure describes.
penColor
The color of this pen. This color matches one of the entries in the color set for this device.
penThickness
The size of this pen.
penUnits
The units that define the penThickness value, as described in the next section.
penPosition
The position of this pen in the devices's pen carousel. If the pen is not loaded, it is set to the value kPenNotLoaded (-1).

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help